#include <51func.h>
int main(int argc, char *argv[])
{
    char ip[] = "192.168.118.128";
    struct in_addr addr;
    //inet_aton(ip,&addr);
    addr.s_addr = inet_addr(ip);
    printf("addr = %x\n", addr.s_addr);
    return 0;
}

